package com.situ.shoplook.common.model;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 商品
 */
@Data
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
public class Product implements Serializable {
    @EqualsAndHashCode.Include
    private Integer productId;
    private String name;
    private String picture;
    private BigDecimal price;
    private String description;
    private Integer stock;
    private Integer categoryId;
    private String categoryName;
    private String detail;
}
